﻿@model AuditModel.Score

@{
    ViewBag.Title = "Details";
    Layout = "~/Views/Shared/SubjectAdmin/_SubjectAdminLayout.cshtml";
    AuditModel.Archive archive = (AuditModel.Archive)ViewBag.Archive;
}

<h2>@archive.ID<text>得分情况</text></h2>
@Html.Partial("_ArchiveDetailsSimple", archive)
<fieldset>
    <legend>@AuditResources.Score.ObjectName</legend>

      <div class="display-label">@AuditResources.Score.MaterialScore</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.MaterialScore)
    </div>

    <div class="display-label">@AuditResources.Score.InstructionScore</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.InstructionScore)
    </div>

    <div class="display-label">@AuditResources.Score.DefenseScore</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.DefenseScore)
    </div>

    <div class="display-label">@AuditResources.Score.OtherScore</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.OtherScore)
    </div>

    <div class="display-label">@AuditResources.Score.TotalScore</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.TotalScore)
    </div>

    <div class="display-label">@AuditResources.Score.Comment</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Comment)
    </div>

    <div class="display-label">@AuditResources.Score.CommentFile</div>
    <div class="display-field">
        @if (!string.IsNullOrEmpty(Model.CommentFile))
        {
        @Html.ActionLink(Model.CommentFile, "GetCommentFile", "DownloadManager", new { archiveid = Model.ArchiveID, serialnumber = Model.ExpertJudgeSerialNumber }, new { style = "display:inline-block;width:100px" })
        }
    </div>

    <div class="display-label">@AuditResources.Score.SubmitTime</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.SubmitTime)
    </div>

    
</fieldset>
<p>
    @Html.ActionLink("返回", "ScoreDetails", new { id = archive.ID }, new { @class = "button" })
</p>
